<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF8">
    <title></title>
    <style type="text/css">
        #container {
            margin: 8px;
        }

        .param-table {
            background: #E6E6E6;
            border: 1px solid #FFF;
            margin: 12px 0;
            border-collapse: collapse;
        }

        .param-table th {
            background: gray;
            color: #FFF;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            border: 1px solid #FFF;
            padding: 5px;
        }

        .param-table td {
            border-collapse: collapse;
            border: 1px solid #FFF;
            font-size: 12px;
            padding: 5px;
        }

        .param-table .th-name {
            min-width: 140px;
        }

        .param-table .th-identifier {
            min-width: 140px;
        }

        .param-table .th-type {
            min-width: 100px;
        }

        .param-table .th-remark {
            min-width: 200px;
        }

        .param-table .td-name {}

        .param-table .td-identifier {}

        .param-table .td-type   { color: #990000; }

        .param-table .td-remark { color: #666; }

        .param-table .tr-level-1 { background: #F5F5F5; }
        .param-table .tr-level-1 .td-identifier { padding-left: 5px; }

        .param-table .tr-level-2 { background: #E6E6E6; }
        .param-table .tr-level-2 .td-identifier { padding-left: 15px; }

        .param-table .tr-level-3 { background: #CCCCCC; }
        .param-table .tr-level-3 .td-identifier { padding-left: 25px; }

        .param-table .tr-level-4 { background: #E6E6E6; }
        .param-table .tr-level-4 .td-identifier { padding-left: 35px; }

        .param-table .tr-level-5 { background: #CCCCCC; }
        .param-table .tr-level-5 .td-identifier { padding-left: 45px; }

        .param-table .tr-level-6 { background: #E6E6E6; }
        .param-table .tr-level-6 .td-identifier { padding-left: 55px; }

        .param-table .tr-level-7 { background: #CCCCCC; }
        .param-table .tr-level-7 .td-identifier { padding-left: 65px; }

        .param-table .tr-level-8 { background: #E6E6E6; }
        .param-table .tr-level-8 .td-identifier { padding-left: 75px; }

        .param-table .tr-level-9 { background: #CCCCCC; }
        .param-table .tr-level-9 .td-identifier { padding-left: 85px; }

        .param-table .tr-level-10 { background: #E6E6E6; }
        .param-table .tr-level-10 .td-identifier { padding-left: 95px; }

        .param-table .tr-level-11 {
            background: #CCCCCC;
        }
        .param-table .tr-level-11 .td-identifier { padding-left: 105px; }

        .param-table .tr-level-12 {
            background: #E6E6E6;
        }
        .param-table .tr-level-12 .td-identifier { padding-left: 115px; }

        .param-table .tr-level-13 {
            background: #CCCCCC;
        }
        .param-table .tr-level-13 .td-identifier { padding-left: 125px; }
    </style>
</head>
<body>
<div id="container">
            <div class="module">
            <h1>1&nbsp;我的模块</h1>
                            <div class="page">
                    <h2>1.1&nbsp;信息修改</h2>
                                            <div class="action">
                            <h3>1.1.1&nbsp;更改绑定手机号</h3>

                            <h3>URL</h3>
                            <div>/lslease/appuser/bindNewPhone</div>

                            <h3>Method</h3>
                            <div>POST</div>

                            <h3>Description</h3>
                            <div>http://localhost:18080/lslease/appuser/bindNewPhone?mobile=13757150533&userShortNum=3725&account=13757150532</div>

                            <h3>Request Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">旧手机号</td><td class="td-identifier">account</td><td class="td-type">string</td><td class="td-remark"></td></tr><tr class="tr-level-1"><td class="td-name">新手机号</td><td class="td-identifier">mobile</td><td class="td-type">string</td><td class="td-remark"></td></tr><tr class="tr-level-1"><td class="td-name">用户验证码</td><td class="td-identifier">userShortNum</td><td class="td-type">string</td><td class="td-remark"></td></tr></table>

                            <h3>Response Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">消息</td><td class="td-identifier">msg</td><td class="td-type">string</td><td class="td-remark">@mock=修改手机号成功</td></tr><tr class="tr-level-1"><td class="td-name">数据</td><td class="td-identifier">data</td><td class="td-type">object</td><td class="td-remark"></td></tr><tr class="tr-level-1"><td class="td-name">结果 1.成功 0.失败</td><td class="td-identifier">status</td><td class="td-type">number</td><td class="td-remark">@mock=0</td></tr></table>
                        </div>
                                    </div>
                            <div class="page">
                    <h2>1.2&nbsp;开门记录</h2>
                                            <div class="action">
                            <h3>1.2.1&nbsp;查询开门记录</h3>

                            <h3>URL</h3>
                            <div>/lslease/apprecord/queryUserDooorRecord</div>

                            <h3>Method</h3>
                            <div>GET</div>

                            <h3>Description</h3>
                            <div>http://localhost:18080/lslease/apprecord/queryUserDooorRecord?mobile=13757150532</div>

                            <h3>Request Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">用户账号</td><td class="td-identifier">mobile</td><td class="td-type">string</td><td class="td-remark"></td></tr></table>

                            <h3>Response Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">消息</td><td class="td-identifier">msg</td><td class="td-type">string</td><td class="td-remark">@mock=操作成功</td></tr><tr class="tr-level-1"><td class="td-name">数据</td><td class="td-identifier">data</td><td class="td-type">array&lt;object&gt;</td><td class="td-remark"></td></tr><tr class="tr-level-2"><td class="td-name">---锁具名称</td><td class="td-identifier">lockName</td><td class="td-type">string</td><td class="td-remark">@mock=喵喵的锁具</td></tr><tr class="tr-level-2"><td class="td-name">---用户昵称 密码开门值为密码开门</td><td class="td-identifier">nickName</td><td class="td-type">string</td><td class="td-remark">@mock=用户0532</td></tr><tr class="tr-level-2"><td class="td-name">---开门方式 1 手机 2 指纹 4 密码 128 未知</td><td class="td-identifier">openType</td><td class="td-type">number</td><td class="td-remark">@mock=0</td></tr><tr class="tr-level-2"><td class="td-name">---房源名称</td><td class="td-identifier">houseName</td><td class="td-type">string</td><td class="td-remark">@mock=陈苗发的测试房源</td></tr><tr class="tr-level-2"><td class="td-name">---开门时间</td><td class="td-identifier">openTime</td><td class="td-type">string</td><td class="td-remark">@mock=2017-10-20 15:18:26</td></tr><tr class="tr-level-2"><td class="td-name">---房源地址</td><td class="td-identifier">houseAddress</td><td class="td-type">string</td><td class="td-remark">@mock=江晖南路8号909房间</td></tr><tr class="tr-level-1"><td class="td-name">状态</td><td class="td-identifier">status</td><td class="td-type">number</td><td class="td-remark">@mock=1</td></tr></table>
                        </div>
                                            <div class="action">
                            <h3>1.2.2&nbsp;添加开门记录</h3>

                            <h3>URL</h3>
                            <div>/lslease/apprecord/addOpenRecord</div>

                            <h3>Method</h3>
                            <div>GET</div>

                            <h3>Description</h3>
                            <div>http://localhost:18080/lslease/apprecord/addOpenRecord?mobile=13757150532&mac=C3:FA:58:31:80:66</div>

                            <h3>Request Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">当前开门用户</td><td class="td-identifier">mobile</td><td class="td-type">string</td><td class="td-remark"></td></tr><tr class="tr-level-1"><td class="td-name">设备的编号(mac地址)</td><td class="td-identifier">mac</td><td class="td-type">string</td><td class="td-remark"></td></tr></table>

                            <h3>Response Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">数据</td><td class="td-identifier">data</td><td class="td-type">string</td><td class="td-remark">@mock=添加成功</td></tr><tr class="tr-level-1"><td class="td-name">消息</td><td class="td-identifier">msg</td><td class="td-type">string</td><td class="td-remark">@mock=操作成功</td></tr><tr class="tr-level-1"><td class="td-name">状态 1.成功 0.失败</td><td class="td-identifier">status</td><td class="td-type">number</td><td class="td-remark">@mock=1</td></tr></table>
                        </div>
                                    </div>
                            <div class="page">
                    <h2>1.3&nbsp;添加网关</h2>
                                            <div class="action">
                            <h3>1.3.1&nbsp;删除插头/网关</h3>

                            <h3>URL</h3>
                            <div>/lslease/appgate/deleteGateway</div>

                            <h3>Method</h3>
                            <div>POST</div>

                            <h3>Description</h3>
                            <div>http://localhost:18080/lslease/appgate/deleteGateway?mac=C3:FA:58:31:80:65</div>

                            <h3>Request Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">插头/网关的编号（mac地址）</td><td class="td-identifier">mac</td><td class="td-type">string</td><td class="td-remark"></td></tr></table>

                            <h3>Response Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">消息</td><td class="td-identifier">msg</td><td class="td-type">string</td><td class="td-remark">@mock=操作成功</td></tr><tr class="tr-level-1"><td class="td-name">数据</td><td class="td-identifier">data</td><td class="td-type">string</td><td class="td-remark">@mock=删除成功</td></tr><tr class="tr-level-1"><td class="td-name">状态 1.成功 0.失败</td><td class="td-identifier">status</td><td class="td-type">number</td><td class="td-remark">@mock=1</td></tr></table>
                        </div>
                                            <div class="action">
                            <h3>1.3.2&nbsp;更新插头/网关的wif</h3>

                            <h3>URL</h3>
                            <div>/lslease/appgate/updateGateWifi</div>

                            <h3>Method</h3>
                            <div>POST</div>

                            <h3>Description</h3>
                            <div>http://localhost:18080/lslease/appgate/updateGateWifi?mac=C3:FA:58:31:80:65&wifiSsid=chairman&wifiPassword=13757150354</div>

                            <h3>Request Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">插头的mac</td><td class="td-identifier">mac</td><td class="td-type">string</td><td class="td-remark"></td></tr><tr class="tr-level-1"><td class="td-name">wifi密码</td><td class="td-identifier">wifiPassword</td><td class="td-type">string</td><td class="td-remark"></td></tr><tr class="tr-level-1"><td class="td-name">wifi账号</td><td class="td-identifier">wifiSsid</td><td class="td-type">string</td><td class="td-remark"></td></tr></table>

                            <h3>Response Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">状态 1.成功 0.失败</td><td class="td-identifier">status</td><td class="td-type">number</td><td class="td-remark">@mock=1</td></tr><tr class="tr-level-1"><td class="td-name">消息</td><td class="td-identifier">msg</td><td class="td-type">string</td><td class="td-remark">@mock=操作成功</td></tr><tr class="tr-level-1"><td class="td-name">数据</td><td class="td-identifier">data</td><td class="td-type">string</td><td class="td-remark">@mock=修改成功</td></tr></table>
                        </div>
                                            <div class="action">
                            <h3>1.3.3&nbsp;查询网关列表</h3>

                            <h3>URL</h3>
                            <div>/lslease/appgate/queryUserGateway</div>

                            <h3>Method</h3>
                            <div>GET</div>

                            <h3>Description</h3>
                            <div>http://localhost:18080/lslease/appgate/queryUserGateway?mobile=13757150532</div>

                            <h3>Request Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">当前登录用户</td><td class="td-identifier">mobile</td><td class="td-type">string</td><td class="td-remark"></td></tr></table>

                            <h3>Response Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">数据</td><td class="td-identifier">data</td><td class="td-type">array&lt;object&gt;</td><td class="td-remark"></td></tr><tr class="tr-level-2"><td class="td-name">---房源地址</td><td class="td-identifier">houseAddress</td><td class="td-type">string</td><td class="td-remark">@mock=江晖南路8号909房间</td></tr><tr class="tr-level-2"><td class="td-name">---房源名称</td><td class="td-identifier">houseName</td><td class="td-type">string</td><td class="td-remark">@mock=陈苗发的测试房源</td></tr><tr class="tr-level-2"><td class="td-name">---插头/网关mac</td><td class="td-identifier">mac</td><td class="td-type">string</td><td class="td-remark">@mock=C3:FA:58:31:80:65</td></tr><tr class="tr-level-2"><td class="td-name">---wifi密码</td><td class="td-identifier">wifiPassword</td><td class="td-type">string</td><td class="td-remark">@mock=</td></tr><tr class="tr-level-2"><td class="td-name">---wifi账号</td><td class="td-identifier">wifiSsid</td><td class="td-type">string</td><td class="td-remark">@mock=</td></tr><tr class="tr-level-2"><td class="td-name">---插头/网关名称</td><td class="td-identifier">socketName</td><td class="td-type">string</td><td class="td-remark">@mock=陈苗发的插头</td></tr><tr class="tr-level-1"><td class="td-name">状态 1.成功 0. 失败</td><td class="td-identifier">status</td><td class="td-type">number</td><td class="td-remark">@mock=1</td></tr><tr class="tr-level-1"><td class="td-name">消息</td><td class="td-identifier">msg</td><td class="td-type">string</td><td class="td-remark">@mock=操作成功</td></tr></table>
                        </div>
                                            <div class="action">
                            <h3>1.3.4&nbsp;添加插头（网关）</h3>

                            <h3>URL</h3>
                            <div>/lslease/appgate/addUserGateway</div>

                            <h3>Method</h3>
                            <div>POST</div>

                            <h3>Description</h3>
                            <div>http://localhost:18080/lslease/appgate/addUserGateway?mobile=13757150532&houseId=10010&name=%E9%99%88%E8%8B%97%E5%8F%91%E7%9A%84%E6%8F%92%E5%A4%B4&mac=C3:FA:58:31:80:65</div>

                            <h3>Request Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">当前登录用户</td><td class="td-identifier">mobile</td><td class="td-type">string</td><td class="td-remark"></td></tr><tr class="tr-level-1"><td class="td-name">网管的名称</td><td class="td-identifier">name</td><td class="td-type">string</td><td class="td-remark"></td></tr><tr class="tr-level-1"><td class="td-name">房源序号</td><td class="td-identifier">houseId</td><td class="td-type">number</td><td class="td-remark"></td></tr><tr class="tr-level-1"><td class="td-name">插座mac地址</td><td class="td-identifier">mac</td><td class="td-type">string</td><td class="td-remark"></td></tr></table>

                            <h3>Response Param List</h3>
                            <table class="param-table"><thead><th class="th-name">Name</th><th class="th-identifier">Identifier</th><th class="th-type">Type</th><th class="th-remark">Remark</th></thead><tr class="tr-level-1"><td class="td-name">1.成功 0.失败</td><td class="td-identifier">status</td><td class="td-type">number</td><td class="td-remark">@mock=1</td></tr><tr class="tr-level-1"><td class="td-name">消息</td><td class="td-identifier">msg</td><td class="td-type">string</td><td class="td-remark">@mock=添加成功</td></tr><tr class="tr-level-1"><td class="td-name">返回数据（空）</td><td class="td-identifier">data</td><td class="td-type">object</td><td class="td-remark">空</td></tr></table>
                        </div>
                                    </div>
                    </div>
    </div>
</body>
</html>
